package Draw;

public class DrawTest {
    public static void main(String[] args) {

        Draw draw1 = new Draw(5);
        //绘制三角形
        draw1.triangle();
        System.out.println();
        //绘制矩形
        draw1.rectangle();
        System.out.println();
        //绘制平行四边形
        draw1.parallelogram();
    }
}
